
from django.urls import path,re_path
from . import views

app_name='verifications'

urlpatterns = [
    path('hello',views.hello),
    path('image_code/<uuid:img_id>',views.Image_code,name='image_code'),#图片验证码
    re_path('username/(?P<username>\w{5,20})/',views.CheckUsernameView.as_view(),name='c_username'),
    re_path('mobile/(?P<mobile>1[358]\d{9})/',views.CheckMobileView.as_view(),name='c_mobile'),
    path('sms_code/',views.SmsCodeView.as_view(),name='sms_code'),
]